#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

using namespace std;

int main()
{
	long long T, S;
	cin >> T >> S;
	printf("%.3lf", S * T*1.0 / 12);
	return 0;
}